Einhugur GraphicsFormats Plugin for Objo

Einhugur.GraphicsFormats.RawIcoImporter.OpenFromFile Method

Opens a ICO Image from a file, reading the bitmap by given index from the ICO file.

OpenFromFile(
   filePath as String,
   directoryIndex as Integer) as Einhugur.RawBitmap

Parameters

filePath
Path to the ICO file.
directoryIndex
Index of the bitmap within the ICO file to open.

Returns

Einhugur.RawBitmap
A RawBitmap instance representing the opened ICO image.

Remarks

This method can throw Exception.

See Also

Einhugur.GraphicsFormats.RawIcoImporter Class